<html>
<head>
    <meta charset="UTF-8">
    <!--meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"-->
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <script type='text/javascript' src='//g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/??sm.min.css,sm-extend.min.css">
    <script type='text/javascript' src='//g.alicdn.com/msui/sm/0.6.2/js/??sm.min.js,sm-extend.min.js'
            charset='utf-8'></script>

    <script src="https://cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>

    {% load static %}
    <link rel="stylesheet" href="{% static 'css/main.css' %}">
    <link rel="stylesheet" href="{% static 'css/iconfont.css' %}">
    <title>旅动足球</title>
</head>
<style type="text/css">


</style>

<body>
<div class="page">
                <div class="navbar" style="height: 60px;background-color: #326295"><!--标记 -->
                    <div class="navbar-inner">
                        <div class="left" style="margin-top: 10px;height: 60px;">
                            <a onclick="location='/index'" class="link">
                            <!--i class="icon icon-back"></i-->
                            <span style="font-size:16px;margin-bottom: 60px;margin-left: 10px;color: #ffffff">首页</span>
                            <span style="text-align:center;margin-left: 96px;color: #ffffff;font-size: 20px;">旅动足球</span>
                        </a>
                        </div>
                    </div>
                </div>
    <div class="content" style="margin-top: 60px">
        <div class="content-block">
           {% for a in advices.object_list %}
			<ul>
				<li>
					 {{ a.advice }}
					<hr style="height:1px;border:none;border-top:1px solid #555555;"/>
				</li>
			</ul>
            {% endfor %}
        </div>


<nav aria-label="Page navigation">
     <ul class="pagination">
         {% if advices.has_previous %}
         <li>
             <a href="?page={{ advices.previous_page_number }}"
                 aria-label="Previous"><span aria-hidden="true">&laquo;上一页</span></a>
         </li>
         {% endif %}

         {% for pg in advices.page_range %}
             {% if pg == advices.cp %}
                 <li class="active"><a href="?page={{ advices.cp }}">{{ advices.cp }}</a>
                 </li>
             {% else %}
                 <li><a href="?page={{ pg }}">{{ pg }}</a></li>
             {% endif %}
         {% endfor %}
         {% if advices.has_next %}
             <li>
                 <a href="?page={{ advices.next_page_number }}" aria-label="Next"><span
                         aria-hidden="true">&raquo;下一页</span></a></li>
         {% endif %}
     </ul>
</nav></div>
</div>

<!--cnzz统计代码,误删-->
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1267142462'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1267142462%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>

</body>
</html>
